Chapter 5  Creating Formats and Labels

5.1  Adding Labels to Your Variables

5.2  Using Formats to Enhance Your Output

5.3  Regrouping Values Using Formats

5.4  More on Format Ranges

5.5  Storing Your Formats in a Format Library

5.6  Permanent Data Set Attributes

5.7  Accessing a Permanent SAS Data Set with User-Defined Formats

5.8  Displaying Your Format Definitions

5.9  Problems

5.1  Adding Labels to Your Variables

If you are using SAS to produce listings and reports for others, you will want to make the output more readable and attractive. SAS formats and labels help you do this. They also help you to remember what each variable represents.

Many SAS procedures use variable labels to improve readability. You can create labels either in a DATA ...

Get Learning SAS by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.